package com.cnsunrun.framworksimple.mode

import com.cnsunrun.framwork.common.base.App

/**
 * Created by WQ on 2017/6/27.
 */
class TestClass {
    fun testMethod(){
        SingletonClass.init(App.getInstance())
        val singleton=SingletonClass
        singleton.field1
        SingletonClass._method1()
        TestMode._instance
        TestMode._staticMethod();
       ObservableMode<TestBean>{
            listener{
                it?.apply {
                    forumData;
                }
            }
           mode=TestBean()
       }
    }
}